package com.freedom.ums.member.infrastructure.persistence.assembler;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.freedom.ums.member.infrastructure.persistence.pojo.bo.MemberBO;
import com.freedom.ums.member.infrastructure.persistence.pojo.po.MemberPO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface MemberAssembler {
    Page<MemberBO> toPageBO(Page<MemberPO> memberPOPage);

    MemberBO toBO(MemberPO memberPO);

    MemberPO toPO(MemberBO memberBO);
}
